import request from "@/router/axios";

// 登录
export const loginCode = (params) =>
  request({
    url: "admin/auth/login",
    method: "post",
    data: params,
  });

// 修改密码
export const changePassword = (params) =>
  request({
    url: "/api/admin/auth/changePassword",
    method: "post",
    data: params,
  });

